package com.aifund.common.enums.user;

/**
 * 用户类型枚举
 */
public enum  UserEnum {
    COMMON_USER("普通用户",0),
    EXCHANGE_MAN("交易员",1)
    ;
    //用户级别
    private Integer userIndex;
    //用户级别名称
    private String userIndexName;

    UserEnum(String userIndexName,Integer userIndex){
        this.userIndex = userIndex;
        this.userIndexName = userIndexName;
    }

    public Integer getUserIndex() {
        return userIndex;
    }

    public String getUserIndexName() {
        return userIndexName;
    }

    public void setUserIndexName(String userIndexName) {
        this.userIndexName = userIndexName;
    }

    public void setUserIndex(Integer userIndex) {
        this.userIndex = userIndex;
    }

}
